package org.javaymw.springboot.entity.sys;

import org.javaymw.springboot.base.BizEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/10/26 15:01
 * @Description: 任务调度表
 */
@TableName("sys_schedule_job")
public class SysScheduleJobEntity extends BizEntity<SysScheduleJobEntity> {
    /**
     * 任务名称
     */
    @TableField("job_name")
    private String jobName;
    /**
     * 任务分组
     */
    @TableField("job_group")
    private String jobGroup;
    /**
     * cron表达式
     */
    @TableField("cron")
    private String cron;
    /**
     * 任务执行时调用哪个类的方法 包名+类名
     */
    @TableField("bean_class")
    private String beanClass;
    /**
     * 是否有状态
     */
    @TableField("is_concurrent")
    private char isConcurrent;
    /**
     * 任务调用的方法名
     */
    @TableField("method_name")
    private String methodName;
    /**
     * 任务状态 0禁用 1启用
     */
    @TableField("status")
    private char status;

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public String getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(String beanClass) {
        this.beanClass = beanClass;
    }

    public char getIsConcurrent() {
        return isConcurrent;
    }

    public void setIsConcurrent(char isConcurrent) {
        this.isConcurrent = isConcurrent;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public char getStatus() {
        return status;
    }

    public void setStatus(char status) {
        this.status = status;
    }
}
